package cn.hloger.spider.demo.dataxDemo.bean;

import cn.hloger.spider.demo.dataxDemo.annotation.ApiModel;
import cn.hloger.spider.demo.dataxDemo.annotation.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * Redis的配置VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Redis的配置VO", description = "Redis的配置VO")
public class RedisConfig {

    /**
     * 地址
     */
    @ApiModelProperty(name = "address", value = "地址")
    private String address;

    /**
     * 密码
     */
    @ApiModelProperty(name = "password", value = "密码")
    private String password;

    /**
     * 数据库索引
     */
    @ApiModelProperty(name = "database", value = "数据库索引")
    private int database = 0;
}